<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

<h:head>
	<h:outputStylesheet library="css" name="default.css"  />

	<title>Deposito - Cajero Automatico</title>
</h:head> 
<body> 
<h:form method = "post">
	<h2>Formulario de deposito:</h2>
	<h:panelGrid columns="2">
		Nro de cuenta:
		<h:outputText value="#{depositarForm.nroCuenta}" />
		Monto a depositar:
		<h:inputText value="#{depositarForm.monto}" id="montoDeposito"/>
	</h:panelGrid>
	<h:messages />
	<h:commandButton action="#{depositarForm.depositar()}" value="Aceptar" />
	<h:commandButton value="Cancelar" action="/menu" />
</h:form>
</body> 
</html>
